/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const versionRouter = {
  path: '/versions',
  component: Layout,
  redirect: '/versions/versionsearch',
  name: 'Version',
  alwaysShow: true,
  meta: {
    title: '版本管理',
    icon: 'el-icon-banben'
  },
  children: [
    {
      path: 'versionsearch',
      component: () => import('@/views/versions/versionSearch/index'),
      name: 'VersionQuery',
      meta: { title: '版本查询',icon:"el-icon-search" }
    },
    {
      path: 'handupdate',
      component: () => import('@/views/versions/handUpdate/index'),
      name: 'ManualUpgrade',
      meta: { title: '批次升级',icon:"el-icon-thumb" }
    },
    {
      path: 'updatefilemanage',
      component: () => import('@/views/versions/updateFileManage/index'),
      name: 'VersionManager',
      meta: { title: '升级文件管理',icon:"el-icon-postcard" }
    },
    {
      path: 'updatetask',
      component: () => import('@/views/versions/updateTask/index'),
      name: 'VersionUpgradeTask',
      meta: { title: '自动升级',icon:"el-icon-notebook-2" }
    },
  ]
}
export default versionRouter
